package com.aaa.outbound.service.impl;

import com.aaa.entity.outbound.PickDetail;
import com.aaa.entity.outbound.ReviewDetail;
import com.aaa.outbound.mapper.ReviewDetailMapper;
import com.aaa.outbound.service.ReviewDetailService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author aaa
 * @since 2020-12-03
 */
@Service
public class ReviewDetailServiceImpl extends ServiceImpl<ReviewDetailMapper, ReviewDetail> implements ReviewDetailService {
    @Autowired
    private ReviewDetailMapper reviewDetailMapper;

    @Override
    public List<ReviewDetail> selectReviewDetailByOutorderno(String outorderno) {
        return reviewDetailMapper.selectReviewDetailByOutorderno(outorderno);
    }

    @Override
    public List<PickDetail> searchCommodityByOutorderno(String outorderno) {
        return reviewDetailMapper.searchCommodityByOutorderno(outorderno);
    }
}
